<?php echo $header ?>
<?php echo $slider ?>
<div class="content">
    <div class="container">
        <div class="row">
            <div class="span12">
                <?php 
                    $mainPhoto  = base_url() . "uploads/" . $item->photo;
                ?>
                <div class="row">
                    <div class="span12 home-tab-main">
                        <div class="row">
                            <div class="span12">
                                <h2 class="single-title"><a href="<?php echo site_url() . "/home/singleb/" . $page->id; ?>"><?php echo $page->title?></a></h2>
                            </div>
                        </div>
                        <div class="row">
                            <div class="span12">      
                                <p>
                                    <?php echo $page->content; ?>
                                </p>
                            </div>
                        </div>
                        <div class="row">
                            <div class="span12">
                                <p></p>
                                <p>
                                <i class="icon-calendar"></i> <?php echo date("d F Y",  strtotime($page->addedDate)) ?> | 
                                <i class="icon-tags"></i> <?php echo lang('bp_tags')?> : 
                                <?php $tags = explode(",", $page->tags);
                                foreach ($tags as $tag) { ?>                                
                                <span class="label label-info"><?php echo $tag ?></span>
                                <?php } ?>
                                </p>
                            </div>
                        </div>
                    </div>
                </div> <!-- Blog Row Finally -->
            </div>
            
        </div><!-- End Row--->

    </div>
</div>


<?php echo $footer ?>